<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
   <input id="inputs" type="text" name="name" value="12">
   <span id="spans">hello world</span>
   <div id="divA"> This is <span>some</span> text </div>
   <script type = "text/javascript">
    var input = document.getElementById('inputs');
    console.log(input);

    var text = document.getElementsByTagName('html').textContent;
    console.log(text);
    </script>
    </body>
</html>
